package com.sky.utils;

public class DataSourceHolder {

	private static final ThreadLocal<String> dataSource = new ThreadLocal<String>();
	
	public static void setDataSource(String customerType) {
		dataSource.set(customerType);
	}
	
	public static String getDataSource() {
		return (String)dataSource.get();
	}
	
	public static void clearDataSource() {
		dataSource.remove();
	}
} 
